<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script type="text/javascript" src="../../webapp/static/js/jquery-1.7.2.js"></script>
    <script type="text/javascript">
        var jsonObj = {
            "key1" : 12,
            "key2" : "abc" ,
            "key3" : true ,
            "key4" : [11,false,"bbj"] ,
            "key5" : {
                "key5_1" : 51,
                "key5_2" : 52
            },
            "key6" : [{
                "key6_1_1" : 611,
                "key6_1_2" : 612
            },{
                "key6_2_1" : 621,
                "key6_2_2" : 622
            }]
        };
        alert( jsonObj.key1 );// 12
        alert( jsonObj.key2 ); // abc
        alert( jsonObj.key3 ); // true
        
        var arr = jsonObj.key4;
        for (var i = 0; i < arr.length; i++) {
            alert(arr[i])
        }
        alert(jsonObj.key5.key5_1); // 51
        alert(jsonObj.key5.key5_2); // 52

        alert(jsonObj.key6[0].key6_1_1); // 611
        alert(jsonObj.key6[0].key6_1_2); // 612

        alert(jsonObj.key6[1].key6_2_1); // 621
        alert(jsonObj.key6[1].key6_2_2); // 622
    </script>


</head>
<body>

</body>
</html>